package cn.wolfcode.crud.domain;

import lombok.*;

import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Employee {
    private Long id;

    private String name;

    private String password;

    private String email;

    private Integer age;

    private boolean admin;
    private boolean status=true;

    private Department dept;
    //提供一个放角色的地方
   private List<Role> roles =new ArrayList<>();

}